import { Module, Global } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { TracingService } from './tracing.service';

/**
 * 链路追踪模块 - 基础设施层
 * 提供请求追踪和性能监控功能
 */
@Global()
@Module({
  imports: [ConfigModule],
  providers: [TracingService],
  exports: [TracingService],
})
export class TracingModule {}
